<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<a href="${pageContext.request.contextPath }/">添加</a>
<hr color="red">
<c:forEach items="${users }" var="user">
	id:${user.id }---name:${user.name }
	<a href="${pageContext.request.contextPath }/UserServlet?flag=deleteUser&id=${user.id} ">删除</a>
	<a href="${pageContext.request.contextPath }/UserServlet?flag=updateUi&id=${user.id} ">更新</a>
	<br>
</c:forEach>
</body>
</html>